home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 2723 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  43 lines

  1. Newsgroups: comp.sys.cbm
  2. Path: howland.reston.ans.net!torn!news!a10
  3. From: a10@server.uwindsor.ca (Darren Fuerst)
  4. Subject: Re: Pontus Berg is a tool
  5. X-Nntp-Posting-Host: server.uwindsor.ca
  6. Message-ID: <Dn121M.4Ln@news.uwindsor.ca>
  7. Sender: news@news.uwindsor.ca (Usenet)
  8. Organization: University of Windsor, Ontario, Canada
  9. References: <54@ppse.win-uk.net> <4fra4c$9cj@news.uncc.edu> <doug.cotton-1502960020560001@s115.the-spa.com>
  10. Date: Mon, 19 Feb 1996 14:39:22 GMT
  11.  
  12. In article <doug.cotton-1502960020560001@s115.the-spa.com> doug.cotton@the-spa.com (Doug Cotton) writes:
  13. >As for Pascal, no it isn't tough to learn, but why spend all that extra
  14. >time typing, then have to wait for the program to compile before you can
  15. >even test it? I've seen no other language that beats BASIC for quick
  16. >program development, and if you really need the extra speed, chuck the
  17. >high-level languages and get your hands dirty with straight assembly.
  18. >Frankly, while Pascal has some good recursive capabilities, it was
  19. >designed as a teaching language, to force students to learn structured
  20. >programming. As such, it takes five times the typing to do something as
  21. >simple as BASIC's PRINT "HELLO WORLD".
  22.  
  23. BASIC is fine for quick and dirty code, but when you get beyond a few
  24. hundred lines BASIC becomes a diaster waiting to happen.  Assembly is 
  25. great when speed and code size are at an absolute premium, but also 
  26. presents some problems when you're writing large programs, unless you
  27. follow structured programming practices.
  28.  
  29. Pascal is not just a teaching language -- witness the fact that a large
  30. amount of PC and Mac code is still done in Pascal (and we're talking
  31. commercial code here, not cobbled together PD junk).  Yes, you do have to
  32. do a bit more typing, but with Pascal you only have to type it once.
  33. With identifier scope, long variable names, and real strucure it's easy
  34. to create module "libraries" and very large programs.  Pascal is picky
  35. enough to catch many programming errors, and Pascal code is much easier to
  36. debug than BASIC or AL.  
  37.  
  38. You're right, of course, that Pascal programs have to be compiled before
  39. they will run -- so what?  AL has to be assembled too.
  40.  
  41. Darren
  42.  
  43.